/**
 *
 * CSS for Cake CMS
 */

* {
    margin:0;
    padding:0;
}

/** 
 * GENERAL STYLES
 */
body {
    background: #f9f9f9;
    color: #303030;
    font-family: 'lucida grande',verdana,helvetica,arial,sans-serif;
    font-size:90%;
    margin: 0;
}
a {
    color: #363636;
    text-decoration: underline;
    font-weight: bold;
}
a:hover {
    color: #367889;
    text-decoration:none;
}
a img {
    border:none;
}
h1, h2, h3, h4 {
    font-weight: normal;
    margin-bottom:0.5em;
}
h1 {
    color: #f6a828;
    font-size: 200%;
	font-weight: bold;
}
h2 {
    color: #f6a828;
    font-family:'Gill Sans','lucida grande', helvetica, arial, sans-serif;
    font-size: 190%;
	/*float: left;*/
	margin-right: 20px;
}
h2 img {
	width: 32px;
	height: 32px;
	float: left;
	margin-right: 20px;
}
h3 {
    color: #1c94c4;
    font-family:'Gill Sans','lucida grande', helvetica, arial, sans-serif;
    font-size: 165%;
}
h4 {
    color: #993;
    font-weight: normal;
}
ul, li {
    margin: 0 12px;
}


/** LAYOUT **/
#container {
    text-align: left;
}

#header{
    height: 80px;
    padding: 0 20px;
    background: #000000 url('../images/bg_header.jpg') repeat-x left;
}
#header h1 {
    font-size: 200%;
	background-color: transparent;
    color: #ffffff;
    padding: 0 0 20px 40px;
}
#header h1 img {
	float: left;
	padding: 20px 0;
	width: 40px;
	height: 40px;
}
#header h1 a {
    color: #fff;
    font-weight: normal;
    text-decoration: none;
	line-height: 75px;
	margin: 0 0 0 10px;
}
#header #logout{
	float:left;
	margin: 6px 0 0 0;
}

#content {
    font-size: 95%;
	padding: 20px;
	min-height: 240px;
}
#footer {
	clear: both;
	position: relative;
	bottom: 10px;
	width: 100%;
	height: 45px;
	padding-top: 20px;
	margin-top: 50px;
	display: block;
	text-align: center;
	font-size: 80%;
	color: #666666;
	border-top: solid 1px #666666;
}
#footer a {
	color: #3090cc;
	text-decoration: none;
}

.inner {
    width: 1040px;
    margin: 0 auto;
}

#navigation {
    width: 100%;
    background-color: #eeeeee;
    border: 0;
	border-top: solid 6px #303030;
    border-bottom: solid 1px #cccccc;
    height: 20px;
    padding: 5px 0;
}

#navigation ul {
	
}

#navigation ul li {
    float: left;
    list-style: none;
    margin: 0 30px 0 0;
}

#navigation ul li a {
    text-transform: uppercase;
    text-decoration: none;
    font-size: 80%;
}



/* LOGIN */

.login {
	width: 600px !important;
	margin: 0 auto;
}

.login input[type=text],
.login input[type=password] {
	width: 95% !important;
	font-size: 90%;
}

/** containers **/
div.form,
div.index,
div.view,
div.index {
    width: 100%;
    padding: 0 0;
}
div.actions {
    display: none;
}
div.actions h3 {
	padding-top:0;
	color:#777;
}


/** TABLES **/
table {
    border-right:0;
    clear: both;
    color: #333;
	margin: 20px 0 20px 0;
    width: 100%;
    font-size: 90%;
}
th {
    border:0;
    border-bottom:2px solid #555;
    text-align: left;
    padding:4px;
}
th a {
    display: block;
    padding: 2px 4px;
    text-decoration: none;
}
th a.asc:after {
    content: ' ⇣';
}
th a.desc:after {
    content: ' ⇡';
}
table tr td {
    padding: 6px;
    text-align: left;
    vertical-align: middle;
    border-bottom:1px solid #ddd;
}
table tr:nth-child(2n) td {
    background: #f5f5f5;
}
table .altrow td {
    background: #f5f5f5;
}
td.actions {
    white-space: nowrap;
}
table td.actions a {
    margin: 0px 10px 0px 0px;
    padding: 2px 0px;
}
.cake-sql-log table {
    background: #f4f4f4;
}
.cake-sql-log td {
    padding: 4px 8px;
    text-align: left;
    font-family: Monaco, Consolas, "Courier New", monospaced;
}
.cake-sql-log caption {
    color:#fff;
}


/** PAGING **/
div.pagination {
	width: auto;
	margin: 0 auto;
	text-align: center;
}
div.paging {
    color: #ccc;
    margin-top: 1em;
    clear:both;
}
div.paging span {
	margin: 0 8px;
}
div.paging span.disabled {
    color: #ddd;
    display: inline;
}
div.paging span.current {
    color: #c73e14;
}
div.paging span a {
	color: #333;
	text-decoration: none;
}


/** Scaffold View **/
dl {
    line-height: 2em;
    margin: 0em 0em;
    width: 80%;
	clear: both;
}
dl .altrow {
    background: #f4f4f4;
}
dt {
    font-weight: bold;
    padding-left: 4px;
    vertical-align: top;
}
dd {
    margin-left: 16em;
    margin-top: -2em;
    vertical-align: top;
}


/** FORMS **/
/*
form {
    clear: both;
    padding: 0;
	background-color: #f4f4f4;
	border: 1px solid #999;
	border-right: none;
	border-left: none;
	width: auto;
}*/
form {
border: 1px solid #666666;
padding: 10px;
width: 70%;
margin: 0 auto;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
-webkit-box-shadow: #666 0px 2px 3px;
-moz-box-shadow: #666 0px 2px 3px;
box-shadow: #666 0px 2px 3px;
background: #fcfcfc;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#fcfcfc), to(#fcfcfc));
background: -webkit-linear-gradient(#fcfcfc, #fcfcfc);
background: -moz-linear-gradient(#fcfcfc, #fcfcfc);
background: -ms-linear-gradient(#fcfcfc, #fcfcfc);
background: -o-linear-gradient(#fcfcfc, #fcfcfc);
background: linear-gradient(#fcfcfc, #fcfcfc);
-pie-background: linear-gradient(#fcfcfc, #fcfcfc);
behavior: url(/pie/PIE.htc);
}
form h3 {
	border-bottom: solid 1px #dcdcdc;
	padding: 5px 0 15px 0;
}
fieldset {
    border: none;
    margin-bottom: 1em;
}
fieldset legend {
	color: #f6a828;
    font-size: 120%;
    font-weight: bold;
	margin: 10px 0 10px 8px;
	/*display: none;*/
}
fieldset fieldset {
    margin-top: 0px;
    margin-bottom: 20px;
    padding: 16px 10px;
}
fieldset fieldset legend {
    font-size: 120%;
    font-weight: normal;
}
fieldset fieldset div {
    clear: left;
    margin: 0 20px;
}
form div {
    clear: both;
    margin-bottom: 1em;
    padding: .1em .4em 0 .4em;
    vertical-align: text-top;
}
form .input {
    color: #444;
}
form .required {
    font-weight: bold;
}
form .required label:after {
    color: #e32;
    content: '*';
    display:inline;
}
form div.submit {
    border: 0;
    clear: both;
    margin-top: 10px;
}
label {
    display: block;
    font-size: 95%;
	font-weight: bold;
    margin-bottom:1em;
	color: #606060;
}
input, textarea {
    clear: both;
    font-size: 90%;
    font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
    padding: 5px;
	color: #606060;
}

input {
	width: 97%;
}
textarea {
	width: 97%;
}

select {
    clear: both;
    font-size: 100%;
    vertical-align: text-bottom;
}
select[multiple=multiple] {
    width: 100%;
}
option {
    font-size: 120%;
    padding: 0 3px;
}
input[type=checkbox] {
    clear: left;
    float: left;
    margin: 0px 6px 7px 2px;
    width: auto;
}
div.checkbox {
	float: left;
	width: 30%;
	clear: none !important;
}
div.checkbox label {
    display: inline;
}
input[type=radio] {
    float:left;
    width:auto;
    margin: 0 3px 7px 0;
}
div.radio label {
    margin: 0 0 6px 20px;
}
input[type=submit],
input[type=button] {
    display: inline;
    width: auto;
}

.inputTiny { width: 50px; }
.inputSmall { width: 100px; }
.inputLarge { width: 400px; }
.inputHuge { width: 650px; }
.inputDynamic { width: 85%; }

.multistep {
	width: 100%;
	height: 40px;
	border-bottom: solid 1px #999;
	list-style: none;
	padding: 0;
	margin: -10px 0 20px 0;
	background-color: #fff;
}
	.multistep li {
		float: left;
		height: 35px;
		width: 20%;
		padding-left: 8%;
		border-left: dashed 1px #999;
	}
	.multistep li a {
		color:#cccccc;
		text-decoration: none;
		line-height: 40px;
		font-weight: normal;
		font-size: 90%;
	}
	.multistep li.active a {
		color: #000;
		font-weight: bold;
	}
	.multistep li:first-child {
		border-left: none;
	}

/** NOTICES & ERRORS **/

div.message {
    clear: both;
    font-weight: bold;
    margin: 0 0 1em 0;
    padding: 4px;
	font-size: 85%;
}

div.message .close {
	float: right;
}

div.error-message {
    clear: both;
    color: #fff;
    font-weight: bold;
    background: #BC2F20;
	width: 55%;
	font-size: 85%;
	padding: 4px;
}
p.error {
    background-color: #e32;
    color: #fff;
    font-family: Courier, monospace;
    font-size: 120%;
    line-height: 140%;
    padding: 0.8em;
    margin: 1em 0;
}
p.error em {
    color: #000;
    font-weight: normal;
    line-height: 140%;
}

input.invalid {
	border: red solid 1px;
}

label.invalid {
	color: red;
}

.notice {
    background: #ffcc00;
    color: #000;
    display: block;
    font-family: Courier, monospace;
    font-size: 120%;
    line-height: 140%;
    padding: 0.8em;
    margin: 1em 0;
}
.success {
    background: green;
    color: #fff;
}


/**  Actions  **/
div.actions ul {
    margin: 0;
    padding: 0;
}
div.actions li {
    margin:0 0 0.5em 0;
    list-style-type: none;
    white-space: nowrap;
    padding: 0;
}
div.actions ul li a {
    font-weight: normal;
    display: block;
    clear: both;
}
div.actions ul li a:hover {
    text-decoration: underline;
}


/** Related **/
div.related {
    clear: both;
	margin: 20px 0;
    /*display: none;*/
}


/** Debugging **/
pre {
    color: #000;
    background: #f0f0f0;
    padding: 1em;
}
pre.cake-debug {
    background: #ffcc00;
    font-size: 120%;
    line-height: 140%;
    margin-top: 1em;
    overflow: auto;
    position: relative;
}
div.cake-stack-trace {
    background: #fff;
    color: #333;
    margin: 0px;
    padding: 6px;
    font-size: 120%;
    line-height: 140%;
    overflow: auto;
    position: relative;
}
div.cake-code-dump pre {
    position: relative;
    overflow: auto;
}
div.cake-stack-trace pre, div.cake-code-dump pre {
    color: #000;
    background-color: #F0F0F0;
    margin: 0px;
    padding: 1em;
    overflow: auto;
}
div.cake-code-dump pre, div.cake-code-dump pre code {
    clear: both;
    font-size: 12px;
    line-height: 15px;
    margin: 4px 2px;
    padding: 4px;
    overflow: auto;
}
div.cake-code-dump span.code-highlight {
    background-color: #ff0;
    padding: 4px;
}
div.code-coverage-results div.code-line {
    padding-left:5px;
    display:block;
    margin-left:10px;
}
div.code-coverage-results div.uncovered span.content {
    background:#ecc;
}
div.code-coverage-results div.covered span.content {
    background:#cec;
}
div.code-coverage-results div.ignored span.content {
    color:#aaa;
}
div.code-coverage-results span.line-num {
    color:#666;
    display:block;
    float:left;
    width:20px;
    text-align:right;
    margin-right:5px;
}
div.code-coverage-results span.line-num strong {
    color:#666;
}
div.code-coverage-results div.start {
    border:1px solid #aaa;
    border-width:1px 1px 0px 1px;
    margin-top:30px;
    padding-top:5px;
}
div.code-coverage-results div.end {
    border:1px solid #aaa;
    border-width:0px 1px 1px 1px;
    margin-bottom:30px;
    padding-bottom:5px;
}
div.code-coverage-results div.realstart {
    margin-top:0px;
}
div.code-coverage-results p.note {
    color:#bbb;
    padding:5px;
    margin:5px 0 10px;
    font-size:10px;
}
div.code-coverage-results span.result-bad {
    color: #a00;
}
div.code-coverage-results span.result-ok {
    color: #fa0;
}
div.code-coverage-results span.result-good {
    color: #0a0;
}

/** Elements **/
#url-rewriting-warning {
    display: none;
}



/* DASHBOARD */

div.dashboard {
	width: 800px;
	margin: 0 auto;
	text-align: center;
}

	.dashboard ul {
		list-style: none;
		width: 560px; /* 4x100 + 4x20 + 4x20 */
		margin: 10px auto;
		padding: 5px;
	}

	.dashboard li {
		float: left;
		text-align: center;
		margin: 0 20px 40px 20px;
		width: 100px;
	}
	
	.dashboard li img {
		width: 80px;
		height: 80px;
		display: block;
		margin: 10px auto;
	}	
	

